package org.xqp.user.constant;

public class UserConstant {

    // 存储验证码信息前缀
    public static final String REGISTER_PREFIX = "register_prefix"; // 这是账号注册的常量前缀
    public static final String BINDER_PREFIX = "binder_prefix"; // 这是微信绑定的常量前缀

    // =========================================   微信登录
    public static final String TOKEN_BY_CODE = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    public static final String APPID = "wxd853562a0548a7d0";
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
    // 微信账号绑定微信返回给我们的url地址    通过openid和token获取微信用户信息
    public static final String WX_USER="https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
